package com.loong.user.model;

import com.loong.common.mybatis.entity.BaseEntity;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "user_member")
public class Member extends BaseEntity {
    /**
     * 昵称
     */
    private String nickname;

    /**
     * 生日
     */
    private Date birthday;

    /**
     * 语言
     */
    private String language;

    /**
     * 会员等级
     */
    @Column(name = "vip_level")
    private Integer vipLevel;

    /**
     * 会员层级
     */
    @Column(name = "member_level")
    private Long memberLevel;

    /**
     * 会员标记
     */
    @Column(name = "member_tag")
    private String memberTag;

    /**
     * 平台积分
     */
    @Column(name = "platform_integral")
    private Integer platformIntegral;

    /**
     * vip进度
     */
    @Column(name = "vip_progress")
    private String vipProgress;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;
}